package com.fishingwithme.infrastructure.mapper;

import com.fishingwithme.infrastructure.dtos.SpotVisitHisDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SpotVisitorHistoryMapper extends BaseMapper<SpotVisitHisDto> {
    IPage<SpotVisitHisDto> listSpotVisitHisPages(Page<SpotVisitHisDto> page,
                                         @Param("spotId") Long spotId);


}
